package com.yunxi.dealer.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 渠道商帐户交易记录
 * </p>
 *
 * @author 
 * @since 2019-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PartnerAccountTransRecord对象", description="渠道商帐户交易记录")
public class PartnerAccountTransRecordVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String recordId;

    @ApiModelProperty(value = "帐户id")
    private String accountId;

    @ApiModelProperty(value = "帐户代码")
    private String accountCode;

    @ApiModelProperty(value = "交易时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date transTime;

    @ApiModelProperty(value = "交易日期")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private String transDate;

    @ApiModelProperty(value = "会计凭证号")
    private String voucherNo;

    @ApiModelProperty(value = "帐户类型")
    private String accountTypeCode;

    @ApiModelProperty(value = "交易金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "业务编号")
    private String busNo;

    @ApiModelProperty(value = "会计凭证日期")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date voucherDate;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date upddateTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "行项目")
    private String buzei;

    @ApiModelProperty(value = "年度")
    private String gjahr;

    @ApiModelProperty(value = "公司代码")
    private String bukrs;

    @ApiModelProperty(value = "渠道商代码")
    private String partnerCode;

    @ApiModelProperty(value = "业务交易方式")
    private String sx;

    @ApiModelProperty(value = "异动金额")
    private String dmbtr;

    @ApiModelProperty(value = "币种")
    private String waers;

    @ApiModelProperty(value = "关联业务单据编号")
    private String bstkd;

    @ApiModelProperty(value = "财务文本")
    private String sgtxt;

    @ApiModelProperty(value = "会计凭证输入日期")
    private String cpudt;

    @ApiModelProperty(value = "输入时间")
    private String cputm;
}
